          
          
         
            //var originalWidth = consultWidth = window.innerWidth;
            //var linkJumpCount = 16;
            var linkHref;
            var beginningDelay = 0;
            var animateDelayCount = 1300;
            //var watchBrowse = null;

            //first ele add class
            function fstAddClass(){
                for(var c = 0;c < $('.addFst').length;c++){
                    $('.addFst:eq(' + c + ')>*:first-child').addClass('active');
                }
            }
            
            function countDown(){
                    linkJumpCount -= 1;
                
                    //linkJumpCount=0时，跳转页面
                    if(linkJumpCount <= 0){
                        location.href = linkHref;
                    }

                    //每秒执行一次,showTime()
                    setTimeout("countDown()",100);
            }
            //禁止滚动
            function onMouseScroll(event) {
                    event.preventDefault();
                    var wheel = e.originalEvent.wheelDelta || -e.originalEvent.detail;
                    var delta = Math.max(-1, Math.min(1, wheel) );
                    if(delta < 0){//向下滚动
                        scrollDown = true;
                    }else{//向上滚动
                        scrollDown = false;
                    }
            }
            
            //前进后退页面处于顶部
            function beginningAtTop(){
                setTimeout(function(){
                    document.documentElement.scrollTop = document.body.scrollTop = 0;
                },10)
            }


            //判断是否为移动设备
            function browserRedirect(){
                var sUserAgent = navigator.userAgent.toLowerCase();
                var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
                var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
                var bIsMidp = sUserAgent.match(/midp/i) == "midp";
                var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
                var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
                var bIsAndroid = sUserAgent.match(/android/i) == "android";
                var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
                var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
                if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
                    $('body').addClass('mobileDevice');
                    return true;
                }else{
                    return false;
                }
            }

            var removeTitle = null;
            var disappear;
            var point = GetQueryString('pointId');
            console.log(point);
            removeTitle = setInterval(function(){
                if($('main').length){
                    $('img').removeAttr('title');
                    clearInterval(removeTitle);
                }
            },10)
            $(document).ready(function(){
                    browserRedirect(); 
                    fstAddClass();
                    var nowHref = window.location.href;
                    if(point){
                        beginningDelay = null;
                        setTimeout(function(){
                            $('header').addClass('frozen');
                            $('body').addClass('stop');
                        },10)
                        setTimeout(function(){
                            $('header .fluid nav .links').addClass('frozen');
                        },610)
                        setTimeout(function(){
                            document.documentElement.scrollTop = document.body.scrollTop = $(('#' + point))[0].getBoundingClientRect().top - $('header').height();
                        },100)
                    }else{
                        setTimeout(function(){
                            $('main .heading').addClass('frozen');
                        },10)
                        setTimeout(function(){
                            $('header').addClass('frozen');
                        },200)
                        setTimeout(function(){
                            $('header .fluid nav .links').addClass('frozen');
                        },800)
                        setTimeout(function(){
                            $('body').addClass('complete');
                        },1000)
                    }
                    for(var a = 0;a < $('header .fluid nav .links .itm').length;a++){
                        if(nowHref.indexOf($('header .fluid nav .links .itm:eq(' + a + ')>a').attr('href')) >= 0){
                            //$('header .fluid nav .links .itm').addClass('active');
                        }
                    }
                    
                    $('header .fluid .menuBtn').click(function(){
                        if($(this)[0].className.indexOf('clicked') >= 0){
                            $(this).removeClass('clicked');
                            $('header .fluid>.language').removeClass('move');
                            $('header .fluid nav').removeClass('flip');
                            $('header .fluid nav')[0].style.height = '';
                        }else{
                            $(this).addClass('clicked');
                            $('header .fluid>.language').addClass('move');
                            $('header .fluid nav').addClass('flip');
                            $('header .fluid nav').height($('header .fluid nav').find('.links')[0].offsetHeight);
                        }
                        
                    })
                    
                    $('.language').click(function(){
                        if($(this)[0].className.indexOf('clicked') < 0){
                            $(this).addClass('clicked');
                            $(this).find('.mid').height($(this).find('.inner')[0].offsetHeight);
                        }else{
                            $(this).removeClass('clicked');
                            $(this).find('.mid')[0].style.height = '';
                        }
                        
                    })
            })

            
            

        